package com.caigou.mapper.cms;

import com.caigou.bean.cms.entity.SurveyFormSharePlatform;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SurveyFormSharePlatformMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SurveyFormSharePlatform record);

    int insertSelective(SurveyFormSharePlatform record);

    SurveyFormSharePlatform selectByPrimaryKey(Integer id);

    List<SurveyFormSharePlatform> selectByFormId(@Param("formId") String formId);

    int updateByPrimaryKeySelective(SurveyFormSharePlatform record);

    int updateByPrimaryKey(SurveyFormSharePlatform record);

    int batchCreateSurveyFormSharePlatform(List<SurveyFormSharePlatform> list);

    int batchUpdateSurveyFormSharePlatform(List<SurveyFormSharePlatform> list);

    List<SurveyFormSharePlatform> selectRecommendByFormId(@Param("formId")String formId);
}